Tools:
1. MiniCommander, Blue FTP ... etc
2. ByteCode Editor.
Introduction:
Hi, In this tutorial, I'll teach you a simple method to Add Screen Shooter to any MIDlet has an interface.
Procedures:
1. Download one of the attached files.
2. Using MiniCommander , extract your MIDlet "app/game" to a sub folder.
3. Using ByteCode Editor , search for this code:
1. javax/microedition/lcdui/Canvas
4. A few .CLASS files will pop up, now open it one by one > Constant pool> Press "7" > Replace:
1. javax/microedition/lcdui/Canvas with:
1. javay/microedition/lcdui/Canvas then press OK. do the same with the rest of .CLASS files that poped up after searching.
And also Change:
1. keyPressed to
1. KeyPressed
1. keyReleased to
1. KeyReleased
5. Again using ByteCode Editor , search for this code:
1. javax/microedition/midlet/MIDlet
6. A few .CLASS files will pop up, now open it one by one > Constant pool> Press "7" > Replace:
1. javax/microedition/midlet/MIDlet with:
1. javay/microedition/lcdui/MIDhack then press OK. do the same with the rest of .CLASS files that poped up after searching.
7. Extract javay folder from any of theattached files to the sub folder where you have extracted your MIDlet.
8. Add the following lines in META-INF/MANIFEST.MF file:
1. jiejie: -10
2. jieset: 42
3. jiedir: file:///E:/ScreenShots/
4. jietime: 100
9. Pack all files using MiniCommander together, thereafter, install your modified MIDlet and Enjoy. ScreenShooter